Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support multiple testsets in one gradle project #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TorstenF76
Copy link

We have in many projects unit tests and integration tests in different test sets.

JaCoCo can handle this out of the box, but printCoverage only prints the coverage of the unit tests.

So I added a loop over the existing test sets and print each coverage.
To be backwards-compatible, the single test sets print the name of the test set so that this does not clash with the existing grep for "Coverage: ".

The resulting Coverage is just the maximum value of the test sets as we are here not able to differ if the coverage is overlapping or not - usually it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant